-- GENERATED SPELL FOR [Alliance Knight] --


function spell0_17920(pUnit, Event) --@Rallying Cry,Self--
pUnit:FullCastSpellOnTarget(31732,pUnit)
pUnit:RegisterEvent('Sorts_17920', 30283, 1)
end

function Sorts_17920(pUnit, Event)
local choix_sorts_17920 = math.random(0, 0)
if choix_sorts_17920 == 0 then
pUnit:RegisterEvent('spell0_17920', 1, 1)
end
end

function mob17920_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17920', math.random(1500, 3000), 1)
end

function mob17920_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17920_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17920_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17920, 1, 'mob17920_Action')
RegisterUnitEvent(17920, 2, 'mob17920_Leave')
RegisterUnitEvent(17920, 3, 'mob17920_Kill')
RegisterUnitEvent(17920, 4, 'mob17920_Die')
